package com.newblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.newblog.model.ArticleInfo;

import java.util.List;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2023-12-11
 * Time:16:23
 * Text：
 */
public interface ArticleService extends IService<ArticleInfo> {
    int delete(Integer aid,int userId);
    int update(ArticleInfo articleInfo);


    int getDetail(Integer id);

    int getinsert(Integer id);

    List<ArticleInfo> getListByPage(int pszie, int ofest);

    int getCount();
}
